org.eclipse.vtp.framework.engine.runtime
Class Configuration

java.lang.Object
  extended by org.eclipse.vtp.framework.engine.runtime.Component
      extended by org.eclipse.vtp.framework.engine.runtime.Configuration

public class Configuration
extends Component

Represents a configuration on a service, action, or observer.

Author:
Lonnie Pryor

Field Summary
 
Fields inherited from class org.eclipse.vtp.framework.engine.runtime.Component
blueprint, constructors, mutators
 
Constructor Summary
Configuration(Blueprint blueprint, ConfigurationDescriptor descriptor, org.w3c.dom.Element data)
          Creates a new Configuration.
 
Method Summary
 java.lang.Object createInstance(IContext serviceRegistry)
          Creates a new instance of the configuration component.
 java.util.Set getIdentifiers()
          Returns the identifiers of this configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Configuration

public Configuration(Blueprint blueprint,
                     ConfigurationDescriptor descriptor,
                     org.w3c.dom.Element data)
              throws java.lang.NullPointerException
Creates a new Configuration.

Parameters:
blueprint - The blueprint of the process.
descriptor - The descriptor of this configuration.
data - The data this configuration is bound to.
Throws:
java.lang.NullPointerException - If the supplied blueprint is null.
java.lang.NullPointerException - If the supplied descriptor is null.
java.lang.NullPointerException - If the supplied data is null.
Method Detail

getIdentifiers

public java.util.Set getIdentifiers()
Returns the identifiers of this configuration.

Returns:
The identifiers of this configuration.

createInstance

public java.lang.Object createInstance(IContext serviceRegistry)
                                throws java.lang.NullPointerException
Creates a new instance of the configuration component.

Parameters:
serviceRegistry - The inherited service registry to use.
Returns:
A new instance of the configuration component.
Throws:
java.lang.NullPointerException - If the supplied service registry is null.